package com.ycc.springcloud.service;

import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface ContentService {

    public Boolean parseContent(String keywords)throws Exception;

    public List<Map<String,Object>> searchPage(String keyword, int pageNo, int pageSize)throws Exception;

    public List<Map<String,Object>> searchPageHighlight(String keyword,int pageNo,int pageSize)throws Exception;

    public Object selectByTitle(String title);

    public Object selectById(String id);

    public List<Map<String,Object>> searchAllPageHighlight() throws IOException;


}